/*
 * @Description:
 * @Author: 崔堂袁
 * @Date: 2021-05-08 19:01:54
 * @LastEditTime: 2021-05-08 20:58:31
 */
const state = {
  isNewDesign: true,
  programName: null
}

const getters = {}

const actions = {}

const mutations = {
  enterEditDesign (state) {
    state.isNewDesign = false
  },
  enterNewDesign (state) {
    state.isNewDesign = true
  },
  updateProgramName (state, newName) {
    state.programName = newName
  }
}
export default {
  namespaced: true,
  state,
  getters,
  actions,
  mutations
}
